package com.gandong8.trace.tool.core.sql;


import lombok.extern.slf4j.Slf4j;
import org.apache.ibatis.logging.Log;
@Slf4j
public class SqlLogImpl implements Log {

    public SqlLogImpl(String aa) {
    }

    @Override
    public boolean isDebugEnabled() {
        return true;
    }

    @Override
    public boolean isTraceEnabled() {
        return true;
    }

    @Override
    public void error(String s, Throwable e) {
        log.warn(s);
        e.printStackTrace(System.err);
    }

    @Override
    public void error(String s) {
        log.warn(s);
    }

    @Override
    public void debug(String s) {
        log.warn(s);
    }

    @Override
    public void trace(String s) {
        log.warn(s);
    }

    @Override
    public void warn(String s) {
        log.warn(s);
    }
}
